<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>服务</title>
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="./css/service.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <style>
        /* 新增样式 */
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        
        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            margin: 0;
            position: relative;
            padding-bottom: 100px; /* 确保内容不会被footer覆盖 */
        }

        main {
            flex: 1 0 auto;
            padding-bottom: 30px;
        }
        
        .footer {
            position: relative !important;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #267e3e;
            color: white;
            padding: 15px 0;
            text-align: center;
            height: auto;
            margin-top: 30px;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .footer p {
            margin: 5px 0;
            font-size: 14px;
        }

        .hero-section {
            background-color: #f9f9f9;
            padding: 60px 0;
            text-align: center;
            margin-bottom: 40px;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 20px;
        }

        .hero-description {
            font-size: 1.2rem;
            color: #666;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .stats-container {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin: 40px 0;
            background-color: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .stat-item {
            text-align: center;
            padding: 20px;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #4CAF50;
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 1rem;
            color: #666;
        }

        .review-categories {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .category-button {
            padding: 10px 20px;
            margin: 0 10px 10px 0;
            background-color: #f0f0f0;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .category-button:hover, .category-button.active {
            background-color: #4CAF50;
            color: white;
        }

        .rating {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .stars {
            color: #FFD700;
            font-size: 1.2rem;
            margin-right: 10px;
        }

        .review-date {
            font-size: 0.9rem;
            color: #888;
            margin-top: 5px;
        }

        .pagination {
            display: flex;
            justify-content: center;
            margin: 40px 0;
        }

        .page-link {
            display: inline-block;
            padding: 8px 15px;
            margin: 0 5px;
            border: 1px solid #ddd;
            background-color: #fff;
            color: #333;
            text-decoration: none;
            border-radius: 3px;
            transition: all 0.3s;
        }

        .page-link:hover, .page-link.active {
            background-color: #4CAF50;
            color: white;
            border-color: #4CAF50;
        }

        .leave-review {
            background-color: #f9f9f9;
            padding: 40px;
            border-radius: 10px;
            margin-top: 50px;
        }

        .review-form {
            max-width: 600px;
            margin: 20px auto 0;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }

        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        textarea.form-control {
            min-height: 150px;
        }

        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }

        .star-rating input {
            display: none;
        }

        .star-rating label {
            cursor: pointer;
            width: 30px;
            height: 30px;
            font-size: 30px;
            color: #ddd;
            margin-right: 5px;
        }

        .star-rating label:before {
            content: '★';
        }

        .star-rating input:checked ~ label {
            color: #FFD700;
        }

        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: #FFED85;
        }

        .btn {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .btn:hover {
            background-color: #45a049;
        }

        .faq-section {
            margin-top: 60px;
        }

        .faq-item {
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
            overflow: hidden;
        }

        .faq-question {
            background-color: #f5f5f5;
            padding: 15px 20px;
            cursor: pointer;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-answer {
            padding: 20px;
            display: none;
            background-color: #fff;
            line-height: 1.6;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        .faq-item i {
            transition: transform 0.3s;
        }

        .faq-item.active i {
            transform: rotate(180deg);
        }
        
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        @media (max-width: 992px) {
            .reviews-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .reviews-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .review-card {
            background: #fff;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .review-card:hover {
            transform: translateY(-5px);
        }
        
        .testimonial-highlight {
            background: #f5fbf6;
            border-left: 4px solid #4CAF50;
            padding: 20px;
            margin: 40px 0;
            font-style: italic;
        }
        
        /* 新增footer样式 */
        .footer {
            background-color: #267e3e;
            color: white;
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
            border-top: 5px solid #1b5e2d;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer p {
            margin: 8px 0;
            font-size: 15px;
        }
        
        .footer-links {
            margin: 20px 0 15px;
        }
        
        .footer-links a {
            color: #d4f5d9;
            text-decoration: none;
            padding: 0 15px;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
            text-decoration: underline;
        }
        
        .social-icons {
            margin-top: 20px;
        }
        
        .social-icons a {
            display: inline-block;
            margin: 0 10px;
            color: white;
            font-size: 24px;
            transition: transform 0.3s;
        }
        
        .social-icons a:hover {
            transform: scale(1.2);
        }
        
        /* 全新的页脚样式 */
        .page-footer {
            background-color: #267e3e;
            color: white;
            padding: 30px 0;
            text-align: center;
            width: 100%;
            clear: both;
            position: static;
            margin-top: 2000px;
            box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
        }
        
        .page-footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .page-footer p {
            margin: 8px 0;
            font-size: 15px;
            color: #fff;
        }
        
        .page-footer-links {
            margin: 20px 0 15px;
        }
        
        .page-footer-links a {
            color: #d4f5d9;
            text-decoration: none;
            padding: 0 15px;
            transition: color 0.3s;
            font-weight: 500;
        }
        
        .page-footer-links a:hover {
            color: white;
            text-decoration: underline;
        }
        
        .page-social-icons {
            margin-top: 20px;
        }
        
        .page-social-icons a {
            display: inline-block;
            margin: 0 10px;
            color: white;
            font-size: 24px;
            transition: all 0.3s ease;
        }
        
        .page-social-icons a:hover {
            transform: translateY(-5px);
            color: #d4f5d9;
        }
    </style>
</head>
<body>
    <header class="header">
        <div class="logo">
            <img style="width: 50px;border-radius: 50%;margin-right: 20px;"
                src="https://img0.baidu.com/it/u=1155563640,2612093044&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500"
                alt="">
            健康食品
        </div>
        <nav class="nav">
            <a href="./main.html" class="nav-item">首页</a>
            <a href="./product.html" class="nav-item">产品</a>
            <a href="./service.html" class="nav-item active">评价</a>
            <a href="./our.html" class="nav-item">关于我们</a>
            <a href="./withour.html" class="nav-item">联系我们</a>
        </nav>
        <img src="https://img1.baidu.com/it/u=1207015496,2831434052&fm=253&fmt=auto&app=120&f=JPEG?w=504&h=500" alt="用户头像" class="user-avatar">
    </header>
    
    <main>
        <!-- Hero Section -->
        <section class="hero-section">
            <div class="hero-content">
                <h1 class="hero-title">客户真实体验分享</h1>
                <p class="hero-description">数千名顾客选择我们的健康食品，听听他们怎么说。我们致力于提供最优质的服务和产品体验，您的反馈是我们不断进步的动力。</p>
                <a href="#leave-review" class="btn">分享您的体验</a>
            </div>
        </section>
        
        <!-- 统计数据 -->
        <div class="container">
            <div class="stats-container">
                <div class="stat-item">
                    <div class="stat-number">98%</div>
                    <div class="stat-label">顾客满意度</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">10,000+</div>
                    <div class="stat-label">每月订单</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">4.8</div>
                    <div class="stat-label">平均评分</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">50+</div>
                    <div class="stat-label">健康认证产品</div>
                </div>
            </div>
            
            <!-- 评价分类 -->
            <h2 class="title">客户评价</h2>
            <p class="subtitle">看看我们的客户都说了什么</p>
            
            <div class="review-categories">
                <button class="category-button active">全部评价</button>
                <button class="category-button">早餐系列</button>
                <button class="category-button">午餐系列</button>
                <button class="category-button">晚餐系列</button>
                <button class="category-button">蔬菜水果</button>
                <button class="category-button">坚果系列</button>
            </div>
            
            <!-- 精选评价 -->
            <div class="testimonial-highlight">
                <p>"健康食品公司完全改变了我的饮食习惯，在这里我找到了既美味又健康的食物选择。最令人惊喜的是，他们的配送服务准时又高效，让我在忙碌的工作日也能轻松享用健康餐食。"</p>
                <div class="rating">
                    <div class="stars">★★★★★</div>
                    <strong>李志强</strong> - 首席执行官
                </div>
            </div>
            
            <!-- 评价卡片 -->
            <div class="reviews-grid">
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★★</div>
                    </div>
                    <p class="review-text">"非常好吃的早餐，每天都期待起床后的第一餐。自从开始食用，精力充沛了很多！"</p>
                    <div class="reviewer">
                        <img src="https://img1.baidu.com/it/u=728383910,3448060628&fm=253&fmt=auto&app=120&f=JPEG?w=800&h=800" alt="赵世华" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">赵世华</div>
                            <div class="reviewer-title">市场营销人员</div>
                            <div class="review-date">2023年10月15日</div>
                        </div>
                    </div>
                </div>
    
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★★</div>
                    </div>
                    <p class="review-text">"自从开始吃这个早餐，我感觉精神焕发，工作效率也提高了。特别喜欢他们的全麦面包搭配牛油果。"</p>
                    <div class="reviewer">
                        <img src="https://img2.baidu.com/it/u=3029837478,1144772205&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500" alt="苗丽" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">苗丽</div>
                            <div class="reviewer-title">作家</div>
                            <div class="review-date">2023年9月22日</div>
                        </div>
                    </div>
                </div>
    
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★★</div>
                    </div>
                    <p class="review-text">"选择这个公司的早餐产品，真是一个明智的决定。每一天都能享受不同的健康美食！"</p>
                    <div class="reviewer">
                        <img src="https://img1.baidu.com/it/u=3598104138,3632108415&fm=253&fmt=auto&app=120&f=JPEG?w=800&h=800" alt="杨秀英" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">杨秀英</div>
                            <div class="reviewer-title">科学家</div>
                            <div class="review-date">2023年11月5日</div>
                        </div>
                    </div>
                </div>
            
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★★</div>
                    </div>
                    <p class="review-text">"营养搭配科学的午餐组合，让下午工作充满能量不犯困。强烈推荐给办公室工作的朋友们！"</p>
                    <div class="reviewer">
                        <img src="https://img0.baidu.com/it/u=1810144852,3699584189&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500" alt="陈志强" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">陈志强</div>
                            <div class="reviewer-title">健身教练</div>
                            <div class="review-date">2023年8月17日</div>
                        </div>
                    </div>
                </div>
            
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★☆</div>
                    </div>
                    <p class="review-text">"低卡高蛋白的午餐选择，完美满足健康饮食需求。希望能增加一些更多样化的选择。"</p>
                    <div class="reviewer">
                        <img src="https://img2.baidu.com/it/u=1438832961,3549010781&fm=253&fmt=auto&app=120&f=JPEG?w=509&h=500" alt="周晓雯" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">周晓雯</div>
                            <div class="reviewer-title">营养师</div>
                            <div class="review-date">2023年10月3日</div>
                        </div>
                    </div>
                </div>
            
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★★</div>
                    </div>
                    <p class="review-text">"新鲜食材搭配当季时蔬，吃得放心又满足！包装也很环保，赞一个！"</p>
                    <div class="reviewer">
                        <img src="https://img2.baidu.com/it/u=1254672238,1423772385&fm=253&fmt=auto&app=120&f=JPEG?w=800&h=800" alt="吴美琳" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">吴美琳</div>
                            <div class="reviewer-title">平面设计师</div>
                            <div class="review-date">2023年7月29日</div>
                        </div>
                    </div>
                </div>
                
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★★</div>
                    </div>
                    <p class="review-text">"均衡搭配的晚餐套餐，吃完完全没有油腻感，睡眠质量都变好了。推荐给经常加班的朋友。"</p>
                    <div class="reviewer">
                        <img src="https://img0.baidu.com/it/u=4223071810,2549055177&fm=253&fmt=auto&app=120&f=JPEG?w=800&h=800" alt="郑浩然" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">郑浩然</div>
                            <div class="reviewer-title">三甲医院医师</div>
                            <div class="review-date">2023年9月12日</div>
                        </div>
                    </div>
                </div>
            
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★☆</div>
                    </div>
                    <p class="review-text">"低温慢煮的烹饪方式，既保留营养又控制热量摄入，健康晚餐首选。配送有时候会晚一点。"</p>
                    <div class="reviewer">
                        <img src="https://img0.baidu.com/it/u=3685137112,4227852722&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500" alt="林静怡" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">林静怡</div>
                            <div class="reviewer-title">瑜伽导师</div>
                            <div class="review-date">2023年11月20日</div>
                        </div>
                    </div>
                </div>
            
                <div class="review-card">
                    <div class="rating">
                        <div class="stars">★★★★★</div>
                    </div>
                    <p class="review-text">"膳食纤维丰富的晚餐组合，肠胃零负担还能控制体重！坚持三个月已经瘦了5公斤。"</p>
                    <div class="reviewer">
                        <img src="https://q2.itc.cn/q_70/images03/20250106/8dbe217c7eea40e993bb4b9a1bdcc21d.jpeg" alt="王瑞阳" class="reviewer-avatar">
                        <div class="reviewer-info">
                            <div class="reviewer-name">王瑞阳</div>
                            <div class="reviewer-title">食品研究员</div>
                            <div class="review-date">2023年12月5日</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 分页 -->
            <div class="pagination">
                <a href="#" class="page-link active">1</a>
                <a href="#" class="page-link">2</a>
                <a href="#" class="page-link">3</a>
                <a href="#" class="page-link">4</a>
                <a href="#" class="page-link">5</a>
                <a href="#" class="page-link">下一页 &raquo;</a>
            </div>
            
            <!-- 提交评价表单 -->
            <div class="leave-review" id="leave-review">
                <h2 class="title">分享您的体验</h2>
                <p class="subtitle">您的反馈对我们至关重要</p>
                
                <form class="review-form">
                    <div class="form-group">
                        <label for="name">您的姓名</label>
                        <input type="text" id="name" class="form-control" placeholder="请输入您的姓名">
                    </div>
                    
                    <div class="form-group">
                        <label for="email">电子邮箱</label>
                        <input type="email" id="email" class="form-control" placeholder="请输入您的电子邮箱">
                    </div>
                    
                    <div class="form-group">
                        <label>您的评分</label>
                        <div class="star-rating">
                            <input type="radio" id="star5" name="rating" value="5">
                            <label for="star5"></label>
                            <input type="radio" id="star4" name="rating" value="4">
                            <label for="star4"></label>
                            <input type="radio" id="star3" name="rating" value="3">
                            <label for="star3"></label>
                            <input type="radio" id="star2" name="rating" value="2">
                            <label for="star2"></label>
                            <input type="radio" id="star1" name="rating" value="1">
                            <label for="star1"></label>
                        </div>
                    </div>
                    
                    <div class="form-group">
                        <label for="category">产品类别</label>
                        <select id="category" class="form-control">
                            <option value="">-- 请选择产品类别 --</option>
                            <option value="breakfast">早餐系列</option>
                            <option value="lunch">午餐系列</option>
                            <option value="dinner">晚餐系列</option>
                            <option value="vegetable">蔬菜水果</option>
                            <option value="nuts">坚果系列</option>
                            <option value="seafood">海鲜系列</option>
                            <option value="dairy">奶制品</option>
                            <option value="lowsugar">低糖食品</option>
                        </select>
                    </div>
                    
                    <div class="form-group">
                        <label for="review">您的评价</label>
                        <textarea id="review" class="form-control" placeholder="请分享您对我们产品的看法和建议..."></textarea>
                    </div>
                    
                    <div class="form-group">
                        <label for="photo">上传照片（可选）</label>
                        <input type="file" id="photo" class="form-control">
                    </div>
                    
                    <button type="submit" class="btn">提交评价</button>
                </form>
            </div>
            
            <!-- 常见问题 -->
            <div class="faq-section">
                <h2 class="title">常见问题</h2>
                <p class="subtitle">关于我们产品和服务的常见疑问</p>
                
                <div class="faq-item">
                    <div class="faq-question">
                        <span>如何订购健康食品套餐？</span>
                        <i class="fas fa-chevron-down"></i>
                    </div>
                    <div class="faq-answer">
                        您可以通过我们的官方网站或手机APP进行订购。选择您喜欢的套餐类型，添加到购物车，然后按照提示完成支付流程。我们会根据您选择的配送时间将新鲜食材送到您指定的地址。
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-question">
                        <span>食材的新鲜度如何保证？</span>
                        <i class="fas fa-chevron-down"></i>
                    </div>
                    <div class="faq-answer">
                        我们与当地农场和供应商建立了直接合作关系，确保所有食材都是当天采摘或生产。我们采用专业的冷链物流系统，全程控温运输，保证食材的新鲜度和营养价值。
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-question">
                        <span>是否提供特殊饮食需求的套餐？</span>
                        <i class="fas fa-chevron-down"></i>
                    </div>
                    <div class="faq-answer">
                        是的，我们提供多种特殊饮食方案，包括素食、无麸质、低碳水化合物、高蛋白等选择。您可以在订购过程中选择您的饮食偏好，我们的营养师团队会为您定制合适的餐食计划。
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-question">
                        <span>配送范围和时间是怎样的？</span>
                        <i class="fas fa-chevron-down"></i>
                    </div>
                    <div class="faq-answer">
                        我们目前覆盖全国主要城市和周边地区。配送时间为早上7点至晚上9点，您可以在下单时选择方便的配送时段。对于定期订购客户，我们提供固定时间配送服务，确保您能按时获得健康餐食。
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-question">
                        <span>如何退换货？</span>
                        <i class="fas fa-chevron-down"></i>
                    </div>
                    <div class="faq-answer">
                        如果您收到的产品有任何质量问题，请在收到后24小时内联系我们的客服团队。我们会安排重新配送或退款。由于食品的特殊性质，非质量问题不提供退换，请您理解。
                    </div>
                </div>
            </div>
        </div>
    </main>
    
    <div class="page-footer">
        <div class="page-footer-content">
            <p>© 2025 健康食品公司 版权所有</p>
            <p>地址：上海市浦东新区健康路123号</p>
            <p>电话：021-12345678</p>
            <div class="page-footer-links">
                <a href="#">隐私政策</a> |
                <a href="#">使用条款</a> |
                <a href="#">网站地图</a>
            </div>
            <div class="page-social-icons">
                <a href="#" title="微信"><i class="fab fa-weixin"></i></a>
                <a href="#" title="微博"><i class="fab fa-weibo"></i></a>
                <a href="#" title="抖音"><i class="fab fa-tiktok"></i></a>
            </div>
        </div>
    </div>
    
    <script>
        // FAQ切换效果
        document.querySelectorAll('.faq-question').forEach(question => {
            question.addEventListener('click', () => {
                const faqItem = question.parentElement;
                faqItem.classList.toggle('active');
            });
        });
        
        // 分类按钮点击效果
        document.querySelectorAll('.category-button').forEach(button => {
            button.addEventListener('click', () => {
                document.querySelectorAll('.category-button').forEach(btn => {
                    btn.classList.remove('active');
                });
                button.classList.add('active');
                // 这里可以添加筛选评价的逻辑
            });
        });
    </script>
</body>
</html>
